# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Dan Serban (dserban01 => gmail)

pkgname=datefudge
pkgver=1.22
pkgrel=1
pkgdesc="A program (and preload library) to fake system date"
arch=('x86_64')
url="http://packages.qa.debian.org/d/datefudge.html"
license=('GPL2')
depends=('sh')
source=(https://ftp.de.debian.org/debian/pool/main/d/$pkgname/${pkgname}_${pkgver}.tar.xz)
sha256sums=('2dc6e4f8808726339f1c7358f9874128031bd940baac396477ab297b5d7ef445')

build() {
  cd $pkgname-$pkgver
  #./configure --prefix=/usr
  make
}

check() {
  cd $pkgname-$pkgver
  make test
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir/" install
}
